package com.yunpeng.dishes.dao.model;

import java.io.Serializable;

/**
 * CodeNameDO
 *
 * @author : Moore(hemw)
 * @date : 2020-04-03
 */
public class CodeNameDO implements Serializable {

    /**
     * 编码
     */
    private String code;
    /**
     * 名称
     */
    private String name;

    public CodeNameDO() {
    }

    public CodeNameDO(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "CodeNameDO{" +
                "code='" + code + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
